<!-- 搜索框及工具条 -->
<div class="c-head-box">
    <form method="get" action="{:Url('question_wait_list')}">
        <ul>
            <li class="c-head-search">
                <!-- 搜索条件 -->
                <ul>
                    <li><span>用户编号：</span><input type="text" name="user_id" value="{$user_id}"/></li>
                    <li><span>问题内容：</span><input type="text" name="question_content" value="{$question_content}"/></li>
                    <li><span>问题类型：</span>{:widget('common/Select/select',array('question_type','question_type',$question_type,false))}</li>
                    <li><span>产品机构编号：</span><input type="text" name="loan_agency_id" value="{$loan_agency_id}"/></li>
                    <li><span>回答管理员编号：</span><input type="text" name="reply_admin_id" value="{$reply_admin_id}"/></li>
                    <li><span>回答业务员编号：</span><input type="text" name="reply_agent_admin_id" value="{$reply_agent_admin_id}"/></li>
                </ul>
            </li>
            <li class="c-head-button">
                <!-- 操作按钮 -->
                <div class="fr"><input type="submit" class="but_blue" value="搜索"></div>
            </li>
        </ul>
    </form>
</div>

<!--用户列表-->
<div class="lists-tab-cont">
    <div class="lists-table">
        <table class="pointer" cellpadding="0" cellspacing="0" border="0">
            <thead>
                <tr>
                    <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>提问编号</p></a></th>
                    <th style="width: 6%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户编号</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>用户名称</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>贷款机构编号</p></a></th>
                    <th style="width: 15%;" class="tabSort-header"><a class="tabSort-header-inner"><p>贷款机构名称</p></a></th>
                    <th style="width: 8%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡银行编号</p></a></th>
                    <th style="width: 15%;" class="tabSort-header"><a class="tabSort-header-inner"><p>信用卡银行名称</p></a></th>
                    <th style="width: 12%;" class="tabSort-header"><a class="tabSort-header-inner"><p>提问时间</p></a></th>
                    <th style="width: 12%;" class="tabSort-header"><a class="tabSort-header-inner"><p>回答时间</p></a></th>
                    <th class="tabSort-header"><a class="tabSort-header-inner"><p>操作</p></a></th>
                </tr>
            </thead>
            <tbody>
                {foreach name="question_list" item="info"}
                    <tr>
                        <td>{$info.question_id}</td>
                        <td>{$info.user_id}</td>
                        <td>{:widget('common/Name/user',array($info['user_id']))}</td>
                        <td>{$info.loan_agency_id}</td>
                        <td>{:widget('common/Name/loan_agency',array($info['loan_agency_id']))}</td>
                        <td>{$info.bank_id}</td>
                        <td>{:widget('common/Name/bank',array($info['bank_id']))}</td>
                        <td>{$info.create_time}</td>
                        <td>{$info.reply_time}</td>
                        <td>
                            <a data-type="info-win" data-src="{:Url('question_info',array('question_id'=>$info['question_id']))}" data-title="详情" data-width="60%" data-height="60%" class="blue">详情</a>
                            <a href="{:Url('question_reply',array('question_id'=>$info['question_id']))}" class="blue">回答</a>
                        </td>
                    </tr>
                {/foreach}
            </tbody>
        </table>
    </div>

    <!-- 翻页模板 -->
    <div class="page">
        {$Think.config.page_html}
    </div>
</div>
